#include "tinyxml2.h"
#include <vector>
#include <string>
#include <iostream>
#include "parse_xml_v2.h"

int main(int argc, char* argv[]) {
    if (argc < 2) {
        std::cerr << "Usage: " << argv[0] << " <xml_file_path>" << std::endl;
        return 1;
    }

    const char* filename = argv[1];
    CrossEffectConfig* pCrossEffectConfig = new CrossEffectConfig;
    if (parseXml(pCrossEffectConfig, filename)) {
        logCrossEffectConfig(pCrossEffectConfig);
    }
    delete pCrossEffectConfig;
    std::cout << "Going to Quit App." << std::endl;
    return 0;
}